package com.itheima.ydd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Value;

@Data
@TableName("ydd_article")
public class Article {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String title;
    private String author;
    private String keywords;
    private String content;
    private String pic;
    private Integer click;
    private Integer ishot;
    private Integer istop;
    private Long create_date;
    private Long  update_date;
    private Integer cateid;
    private String tags;
    private Integer status;
    private String lovenum;
    private Integer user_id;
    private String default_data;
}
